// 简易HTTP服务器
#include <boost/beast/http.hpp>
#include <boost/asio/ip/tcp.hpp>
namespace http = boost::beast::http;
using tcp = boost::asio::ip::tcp;
 
void handle_request(tcp::socket socket) {
    // http::request<http::string_body> req;
    // http::read(socket, boost::asio::dynamic_buffer(buffer), req);
    
    // http::response<http::string_body> res{http::status::ok, req.version()};
    // res.set(http::field::server, "Boost.Beast/1.0");
    // res.body() = "Hello, C++ Backend!";
    // res.prepare_payload();
    
    // http::write(socket, res);
}

int main()
{
    
}